﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Leffaetsin.Services;

namespace Leffaetsin.Models
{
    public class TheatreArea
    {
        public string ID { get; set; }
        public string Name { get; set; }
    }

    public class FinnkinoShows
    {
        public List<FinnkinoShow> Shows { get; set; }
    }
    public class BiorexShows
    {
        public List<BiorexShow> Shows { get; set; }
    }
    public class FinnkinoShow : GetMovieDto
    {
        public int ID { get; set; }
        public string Title { get; set; }
        public string ProductionYear { get; set; }
        public virtual string OriginalTitle { get; set; }
        public string Theatre { get; set; }
        public string TheatreAuditorium { get; set; }
        public string ShowURL { get; set; }
        public string Genres { get; set; }
        public virtual string EventSmallImagePortrait { get; set; }
        public virtual string EventLargeImageLandscape { get; set; }
        public DateTime dttmShowStart { get; set; }
        public string TheatreRoom { get { return TheatreAuditorium; } }
        public DateTime ShowTime { get { return dttmShowStart; } }
    }

    public class BiorexShow : FinnkinoShow, GetMovieDto
    {
        public DateTime showDateTime { get; set; }
        public string hall { get; set; }
        public images images { get; set; }
        public string TheatreRoom { get { return hall; } }
        public DateTime ShowTime { get { return showDateTime;  } }
        public override string EventSmallImagePortrait { get { return images.imageType1; } }
        public override string EventLargeImageLandscape { get { return images.imageType1; } }
    }

    public class images
    {
        public string imageType1 { get; set; }
        public string imageType3 { get; set; }
    }

    // TODO: renamea
    public interface GetMovieDto
    {
        string TheatreRoom { get; }
        DateTime ShowTime { get; }
        string OriginalTitle { get; }
        string ProductionYear { get; }
        string Theatre { get; }
        string Title { get; }
        string ShowURL { get; }
        string EventSmallImagePortrait { get; }
        string EventLargeImageLandscape { get; }
    }
}